/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.epicsaas.app.ksdapp.android.bean;

/** 
 * 登录用户
 */
public class UserBaseInfo {

    private String platformName = null; // 第三方平台名称，null是自己平台账户

    private String id;

    private String username;

    private String userpass;

    //登陆成功后的Token
    private String token;

    @Override
    public String toString() {
        return "UserBaseInfo [platformName=" + platformName + ", id=" + id + ", username=" + username + ", userpass="
                + userpass + "]";
    }

    public UserBaseInfo() {
        super();
    }

    public UserBaseInfo(String id, String username, String platformName) {
        super();
        this.id = id;
        this.username = username;
        this.platformName = platformName;
    }

    public UserBaseInfo(String id, String username, String userpass, String platformName) {
        super();

        this.id = id;
        this.username = username;
        this.userpass = userpass;
        this.platformName = platformName;
    }

    public String getUserpass() {
        return userpass;
    }

    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    public String getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPlatformName() {
        return platformName;
    }

    public void setPlatformName(String platformName) {
        this.platformName = platformName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
